package cn.com.bluemoon.daps.system.service;

import cn.com.bluemoon.daps.common.mp.IBmService;
import cn.com.bluemoon.daps.system.entity.DapSystemDepartment;
import org.springframework.validation.annotation.Validated;

import java.util.Map;

/**
 * <p>
 * 部门管理表 服务类
 * </p>
 *
 * @author admin
 * @since 2020-08-03
 */
@Validated
public interface DapSystemDepartmentService extends IBmService<DapSystemDepartment> {

    /**
     * 获取系统部门名称和id的映射
     *
     * @return
     */
    Map<String, String> dbDistinctDepartAndIdMap();

}
